package com.lineage.data.item_etcitem.html;

import com.lineage.data.executor.ItemExecutor;
import com.lineage.server.model.Instance.L1ItemInstance;
import com.lineage.server.model.Instance.L1PcInstance;
import com.lineage.server.serverpackets.S_NPCTalkReturn;
import com.lineage.server.serverpackets.ServerBasePacket;

public class Wenyang extends ItemExecutor {
  public static ItemExecutor get() {
    return new Wenyang();
  }
  
  public void execute(int[] data, L1PcInstance pc, L1ItemInstance item) {
    pc.sendPackets((ServerBasePacket)new S_NPCTalkReturn(pc.getId(), "wenyang"));
    wenyangLV(pc);
  }
  
  
  public void wenyangLV(L1PcInstance pc) {
	    String type1 = "";
	    String type2 = "";
	    String type3 = "";
	    String type4 = "";
	    String type5 = "";
	    String type6 = "";
	    type1 = String.valueOf(pc.getyiwa());
	    type2 = String.valueOf(pc.getpageliao());
	    type3 = String.valueOf(pc.getshaha());
	    type4 = String.valueOf(pc.getmapule());
	    type5 = String.valueOf(pc.getgelanken());
	    type6 = String.valueOf(pc.getyinhaisa());
	    pc.sendPackets((ServerBasePacket)new S_NPCTalkReturn(pc.getId(), "wenyang", new String[] { 
	            type1, type2, type3, type4, type5, type6 }));
  }
}
